package com.shop.cereshop.app.param.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @description: 查询商品列表参数DTO
 * @author zdd
 * @date 2025/11/4 10:15
 * @version 1.0
 */
@ApiModel(value = "QueryProductListDTO", description = "查询商品列表参数DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class QueryProductListDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "店铺类型：0-全部 1-同城服务(到店用) 2-线上商城(电商购) 3-同城配送(同城送)")
    private Integer shopType;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "排序类型")
    private Integer sort;

    @ApiModelProperty(value = "分类id")
    private Long classifyId;

    @ApiModelProperty(value = "用户id")
    private Long buyerUserId;

    /**
     * 店铺优惠券id
     */
    @ApiModelProperty(value = "店铺优惠券id")
    private Long shopCouponId;
    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id(和店铺优惠券id二选一)")
    private Long activityId;

}
